package com.quectel.emp.vo.scheduling;

import com.quectel.core.module.dept.dto.DeptPersonDto;
import com.quectel.core.module.scheduling.dto.SchedulingTimeConfigDto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * 在这里编写说明
 *
 * @author: bob
 * @email: bob.yu@quectel.com
 * @date: 2023-07-28 11:06:00
 */
@Data
@Schema
public class GroupPersonWorkShiftResp {


        @Schema(description = "班次名")
        private String timeConfigName;

        @Schema(description = "上班时间")
        private String workTime;

        @Schema(description = "下班时间")
        private String closingTime;

        @Schema(description = "绑定考勤人员")
        private List<DeptPersonDto> persons;


        @Data
        @Schema(description = "时间配置和人员转换使用实体")
        public static class TimeConfigPerson {
                @Schema(description = "时间配置")
                private SchedulingTimeConfigDto timeConfigDto;
                @Schema(description = "人员id")
                private Long deptPersonId;
        }
}
